﻿
@model UcAsp.Models.ShowMessageModel
@{
    ViewBag.Title = Model.Art.Tag + Model.Art.Title;
    Layout = "~/Views/Shared/_Layout.cshtml";
    UcAsp.Models.Articles Nextarticles = ViewData["Next"] as UcAsp.Models.Articles;
    UcAsp.Models.Articles Prearticles = ViewData["Pre"] as UcAsp.Models.Articles;
}
@section metas{
<meta name="keywords" content="@Model.Art.Title @Model.Art.MetaKeyword @UcAsp.WorkFrame.SettingConfig.GetSiteSetting.SearchMetaKeywords" />
    <meta name="description" content="@Model.Art.Title @Model.Art.MetaKeyword @Model.Art.MetaDescrition @UcAsp.WorkFrame.SettingConfig.GetSiteSetting.SearchMetaDescription" />
  <style>
      .teachmessage
      {
        width:976px;
        margin-left: auto;
        margin-right: auto;
        border: 1px solid #cdcdcd;
        padding:10px;
         margin-bottom:20px;

      }
      .teach_header
      {
           width:966px;
      }
          .image
          {
              width:340px;
              float:left
          }
          .image img
          {
              width:320px;
              margin:20px
          }
          .note4
          {
              padding-left:20px;
              width:600px;
              float:left;
              overflow:hidden;
          }
  </style>
}
<div class="teachmessage">
    <div class="teach_header">
        <div class="image">
        <img src="@Model.Art.IconUrl" />
            </div>
        <div class="note4">
       <br>@Model.Art.Tag : <b>@Model.Art.Title</b> <br> @(new HtmlString(@Model.Art.Note4))
        </div>
        <div style="width:950px; text-align:right"><a href="/"><font color="#cdcdcd">返回上页</font></a></div>
        <div class="clear"></div>
    </div>

    <div class="line"></div>
    <div class="college_content">
    <div class="content_title">作品介绍</div>
    <div class="content_content">@(new HtmlString(@Model.Art.Description))</div>
    <div class="clear"></div>
</div>
    <div class="poitline" style="width:976px;"></div>
     @(new HtmlString(@Model.Art.ArticleContent))
</div>
<div class="college_content">
    <div style="float:left">上一页: @if (Prearticles.ID != 0){<a href="/ShowMessage/@Nextarticles.ID">@(new HtmlString(@Nextarticles.Title))</a>}</div>
    <div style="float:right; margin-right:50px;">下一页：
    @if (Prearticles.ID != 0)
    {
        <a href="/ShowMessage/@Prearticles.ID">@(new HtmlString(@Prearticles.Title))</a>
    }
    </div>
    <div class="clear"></div>
</div>
<div class="poitline"></div>
<div class="line"></div>
@Html.Action("Comments", new { model = Model })